l = [0,1,123,999]
l[2] = 2
l[3] = 3
l.append(4)
l.append(5)

#l[:3] = [1,2,3]
#m = l[:-1]
#m = l[1:]

#l[-1:] = [4,5,6]

print l[0] + l[1] + l[2] + l[3] + l[4] + l[5] + 27